package com.alibaba.dubbo.demo;

public class Teacher extends Person {

	/**
	 *
	 */
	private static final long serialVersionUID = 1426306788084406178L;
	private String schoolName;

	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}

	public Teacher() {
		super();
	}

	public Teacher(String name, String schoolName) {
		super(name);
		this.schoolName = schoolName;
	}

	@Override
	public String toString() {
		return "Teacher [name=" + super.getName() + ", schoolName=" + schoolName + "]";
	}

}
